package com.cha.chaApp.baby.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cha.chaApp.baby.param.Alum;
import com.cha.chaCommon.core.entity.Baby;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BabyDao extends BaseMapper <BabyDao>{
    List<Baby> select(Integer id);
    int insertBaby(Baby baby);
void inserAlbum(Alum alum);
    int updateBaby(Baby baby);
List<String> selectAlbum(@Param("babyId") Integer babyId,@Param("stage") Integer stage);
    int delAlbum(String img);

}
